package main

import (
	"fmt"
	"net/rpc"
)

func main(){

	client,err:=rpc.Dial("tcp","127.0.0.1:9501")

	if err!=nil{
		return
	}
	var resp string
	client.Call("beifeng.Hello","jack",&resp)

	fmt.Println("resp=",resp)


}